window: Add private API to hardcode the main GdkWindow for a GtkWindow
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 28 Aug 2014 12:40:42 +0000 (14:40 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 1 Sep 2014 17:17:54 +0000 (19:17 +0200)
commitee93db16592b1450765ef400acb8747c10f6addf
tree2a39213c44d91c1a8d14b1f97ef93e2fb5931acc
parent8504890867b70c9638a07c62f478374ad93961e0
window: Add private API to hardcode the main GdkWindow for a GtkWindow

This must be called while the window is not realized yet, and sets the
GdkWindow that will be used for the next GtkWindow's realize/unrealize
cycle. The GtkWindow takes ownership on the GdkWindow, and as such it
will be destroyed when the widget is unrealized.

https://bugzilla.gnome.org/show_bug.cgi?id=697855
gtk/gtkwindow.c
gtk/gtkwindowprivate.h